package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.SmsSendBlackRecord;

/**
 * @author Shine
 */
public interface SmsSendBlackRecordService {

    /**
     * @param admin
     * @return
     */
    public void save(SmsSendBlackRecord smsSendBlackRecord);

    /**
     * 根据电话号码查找是否有记录
     *
     * @param IP
     * @param phone
     * @return WXPhoneRecord
     */
    public SmsSendBlackRecord findByPhoneAndIp(String IP, String phone);

    /**
     * @param phone
     * @return 根据电话号删除相应记录
     */
    public void deleteByPhone(String phone);

    /**
     * @param WXPhoneRecord
     * @return 更新一条记录
     */
    public void update(SmsSendBlackRecord smsSendBlackRecord);

}
